home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / GDIDEMO.PAK / DEMOBASE.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  765b  |  26 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1991, 1995 by Borland International, All Rights Reserved
  4. //
  5. // Base window classes for the GDI demo windows
  6. //----------------------------------------------------------------------------
  7. #if !defined(DEMOBASE_H)
  8. #define DEMOBASE_H
  9.  
  10. #include <owl/mdichild.h>
  11.  
  12. class TBaseDemoWindow : public TWindow  {
  13.   public:
  14.     TBaseDemoWindow() : TWindow(0, 0, 0) {}
  15.  
  16.     virtual void TimerTick() {}
  17.     
  18.   DECLARE_CASTABLE;
  19. };
  20.  
  21. // TBaseDemoWindow.TimerTick is a trivial method that gets called
  22. //  whenever application receives a EvTimer.  Descendants will override
  23. //  this procedure if they need timer messages.
  24.  
  25. #endif  //  DEMOBASE_H
  26.